<?php
return [
    'menu' => [
        'title' => '分销中心',
        'value' => [
            'distributioncenter_1' => [
                'id'             => 'distributioncenter_1',
                'parent_menu_id' => '244',
                'name'           => '分销中心',
                'type'           => 'c',
                'url'            => get_addon_url('DistributionCenter://Index/index'),
                'sort'           => 100
            ],
            'distributioncenter_2' => [
                'id'             => 'distributioncenter_2',
                'parent_menu_id' => 'distributioncenter_1',
                'name'           => '分销设置',
                'type'           => 'a',
                'url'            => get_addon_url('DistributionCenter://Index/setting'),
                'sort'           => 100
            ],
            'distributioncenter_3' => [
                'id'             => 'distributioncenter_3',
                'parent_menu_id' => 'distributioncenter_1',
                'name'           => '分销等级',
                'type'           => 'a',
                'url'            => get_addon_url('DistributionCenter://Index/grade'),
                'sort'           => 100
            ],
            'distributioncenter_4' => [
                'id'             => 'distributioncenter_4',
                'parent_menu_id' => 'distributioncenter_1',
                'name'           => '分销商',
                'type'           => 'a',
                'url'            => get_addon_url('DistributionCenter://Index/distribution'),
                'sort'           => 100
            ],
            'distributioncenter_5' => [
                'id'             => 'distributioncenter_5',
                'parent_menu_id' => 'distributioncenter_1',
                'name'           => '分销订单',
                'type'           => 'a',
                'url'            => get_addon_url('DistributionCenter://Index/order'),
                'sort'           => 100
            ]
        ]
    ],
    'setting'=>[
        'title' => '分销设置',
        'value' => [
            'distribution_level'=> '2',
            'distribution_store'=> '1',
            'distribution_type'=> '3',
            'distribution_money'=> '0',
            'distribution_goods'=> '1',
            'distribution_goods_id'=> '25',
            'notes'=>'成为ZBShop智播商城分销商后，可以获取佣金，用户只可被推荐一次，越早推荐越返利越多哦。',
            'agreement'=> '分销商申请协议',
            'route'=> 'distribution_center',
            'commission_type'=> '2',
            'commission_first'=> '1',
            'commission_second'=> '1',
            'commission_third'=> '1',
            'commission_1'=> '0',
            'commission_2'=> '0',
            'commission_3'=> '0'
        ]
    ]

];
